package com.tarena.lbs.content.pojo.param;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.io.Serializable;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class ArticleCategoryParam implements Serializable {

    @Schema(description = "分类ID（新增时无需传递，编辑时必传）")
    Integer id;

    @Schema(description = "分类名称", required = true)
    String categoryName;

    @Schema(description = "排序（数字越大越靠前）", required = true)
    Integer sort;

    @Schema(description = "状态：1==启用 2==禁用", required = true)
    Integer categoryStatus;

}

